package com.atguigu.shangrongbao.core;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * 由于增强器在common，所以需要配置组件扫描位置
 * scanBasePackages = {"com.atguigu.shangrongbao.core", "com.atguigu.common"}
 */
@SpringBootApplication(scanBasePackages = {"com.atguigu.shangrongbao", "com.atguigu.common"})
@MapperScan("com.atguigu.shangrongbao.core.mapper")
public class ShangRongBaoCoreApplication {
    public static void main(String[] args) {
        SpringApplication.run(ShangRongBaoCoreApplication.class, args);
    }
}
